package com.axonactive.yolo.dto;

import java.util.Date;
import java.util.List;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="user")
public class User {

	private int id;
	private String password;
	private String firstName;
	private String lastName;
	private String phone;
	private Date dateOfBirth;
	private int gender;
	private int loginCount;
	private String resetLinkParam;
    public List<UserEmail> emails;

	public User() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getDateOfBirth() {
		return dateOfBirth;
	}

	public void setDateOfBirth(Date dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}

	public int getGender() {
		return gender;
	}

	public void setGender(int gender) {
		this.gender = gender;
	}

	public List<UserEmail> getEmails() {
		return emails;
	}

	public void setEmails(List<UserEmail> emails) {
		this.emails = emails;
	}

	public int getLoginCount() {
		return loginCount;
	}

	public void setLoginCount(int loginCount) {
		this.loginCount = loginCount;
	}

	public String getResetLinkParam() {
		return resetLinkParam;
	}

	public void setResetLinkParam(String resetLinkParam) {
		this.resetLinkParam = resetLinkParam;
	}
}